Skip to content

[ExecuTorch][WebGPU] split_with_sizes_copy op tests#20996

Open
JCNTH wants to merge 3 commits into
gh/JCNTH/100/basefrom
gh/JCNTH/100/head
Open

[ExecuTorch][WebGPU] split_with_sizes_copy op tests#20996
JCNTH wants to merge 3 commits into
gh/JCNTH/100/basefrom
gh/JCNTH/100/head

Conversation

@JCNTH

@JCNTH JCNTH commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

Stack from ghstack (oldest at bottom):

Op-test suite for aten.split_with_sizes_copy.default (stacked on the split_with_sizes_copy op diff).

Adds test/ops/test_split_with_sizes_copy.py (SplitWithSizesModuletorch.split by a size list) + a @register_op_test("split_with_sizes_copy") suite in test/op_tests/cases.py (3 cases: a 3-way channel split, a dim-0 split, and a last-dim split). Multi-output: the framework compares chunk 0 (out_index 0) while each case exercises all N per-chunk dispatches. copy is bit-exact, so the golden is float32.
@exported-using-ghexport

Differential Revision: D112417279

Differential Revision: D112417279

[ghstack-poisoned]
@pytorch-bot

pytorch-bot Bot commented Jul 16, 2026

Copy link
Copy Markdown

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/20996

Note: Links to docs will display an error until the docs builds have been completed.

❌ 3 New Failures, 3 Unrelated Failures

As of commit 910d9e2 with merge base 21554e5 (image):

NEW FAILURES - The following jobs have failed:

FLAKY - The following jobs failed but were likely due to flakiness present on trunk:

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@github-actions

Copy link
Copy Markdown

This PR needs a release notes: label

If your change should be included in the release notes (i.e. would users of this library care about this change?), please use a label starting with release notes:. This helps us keep track and include your important work in the next release notes.

To add a label, you can comment to pytorchbot, for example
@pytorchbot label "release notes: none"

For more information, see
https://github.com/pytorch/pytorch/wiki/PyTorch-AutoLabel-Bot#why-categorize-for-release-notes-and-how-does-it-work.

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jul 16, 2026
[ghstack-poisoned]
JCNTH added a commit that referenced this pull request Jul 16, 2026
Pull Request resolved: #20996

**Op-test suite for `aten.split_with_sizes_copy.default`** (stacked on the split_with_sizes_copy op diff).

Adds `test/ops/test_split_with_sizes_copy.py` (`SplitWithSizesModule` — `torch.split` by a size list) + a `@register_op_test("split_with_sizes_copy")` suite in `test/op_tests/cases.py` (3 cases: a 3-way channel split, a dim-0 split, and a last-dim split). Multi-output: the framework compares chunk 0 (out_index 0) while each case exercises all N per-chunk dispatches. `copy` is bit-exact, so the golden is float32.
ghstack-source-id: 403871287
@exported-using-ghexport

Differential Revision: [D112417279](https://our.internmc.facebook.com/intern/diff/D112417279/)
[ghstack-poisoned]
JCNTH added a commit that referenced this pull request Jul 21, 2026
Pull Request resolved: #20996

**Op-test suite for `aten.split_with_sizes_copy.default`** (stacked on the split_with_sizes_copy op diff).

Adds `test/ops/test_split_with_sizes_copy.py` (`SplitWithSizesModule` — `torch.split` by a size list) + a `@register_op_test("split_with_sizes_copy")` suite in `test/op_tests/cases.py` (3 cases: a 3-way channel split, a dim-0 split, and a last-dim split). Multi-output: the framework compares chunk 0 (out_index 0) while each case exercises all N per-chunk dispatches. `copy` is bit-exact, so the golden is float32.
ghstack-source-id: 405019011
@exported-using-ghexport

Differential Revision: [D112417279](https://our.internmc.facebook.com/intern/diff/D112417279/)
JCNTH added a commit that referenced this pull request Jul 21, 2026
Pull Request resolved: #20996

**Op-test suite for `aten.split_with_sizes_copy.default`** (stacked on the split_with_sizes_copy op diff).

Adds `test/ops/test_split_with_sizes_copy.py` (`SplitWithSizesModule` — `torch.split` by a size list) + a `@register_op_test("split_with_sizes_copy")` suite in `test/op_tests/cases.py` (3 cases: a 3-way channel split, a dim-0 split, and a last-dim split). Multi-output: the framework compares chunk 0 (out_index 0) while each case exercises all N per-chunk dispatches. `copy` is bit-exact, so the golden is float32.
ghstack-source-id: 405019011
@exported-using-ghexport

Differential Revision: [D112417279](https://our.internmc.facebook.com/intern/diff/D112417279/)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants